class ApplicationController < ActionController::Base
  helper :all
  protect_from_forgery
  
  protected
    
    def authenticate
      return true if (session[:rluser])
      session['return_to'] = request.request_uri
      flash[:notice] = 'Please login.'
      redirect_to '/login/'
    end
end
